﻿namespace Pp.Dto
{
    using System;
    using System.Collections.Generic;

    public class WallItem
    {

        private IList<ProjectDto> _projects;
        private UserDto _detail;
        private IList<LikeDto> _theyLikes;
        private IList<LikeDto> _myLikes;
        private IList<CommentDto> _allComments;

        public bool IsMyProfile { get; set; }


        public IList<CommentDto> AllComments
        {
            get { return _allComments ?? new List<CommentDto>(); }
            set { _allComments = value; }
        }
        public IList<ProjectDto> Projects
        {
            get { return _projects ?? new List<ProjectDto>(); }
            set { _projects = value; }
        }
        public UserDto Detail
        {
            get { return _detail ?? new UserDto(); }
            set { _detail = value; }
        }
        public IList<LikeDto> TheyLikes
        {
            get { return _theyLikes ?? new List<LikeDto>(); }
            set { _theyLikes = value; }
        }
        public IList<LikeDto> MyLikes
        {
            get { return _myLikes ?? new List<LikeDto>(); }
            set { _myLikes = value; }
        }
    }
}